package com.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.project.bean.RoomBean;

public interface IRoomService {
    public int PAGESIZE = 3;
    public void add(RoomBean room);

    /**
     * 动态条件分页查询房间，同时查询房间主人姓名
     * @param pageNO 页码
     * @param address 房间地址
     * @return 分页对象
     */
    public IPage<RoomBean> findByItem(int pageNO,String address);
}
